

import { getAsyncPage } from "../util";
// const Home = () => import('../views/Home.vue')
// const About = () => import('../views/About.vue')
// 异步加载页面组件
const Home = getAsyncPage('../views/Home.vue')
const About = getAsyncPage('../views/About.vue')
export default [
    { path: '/', name: 'home', component: Home },
    { path: '/about', name: 'about', component: About }
]